export default {
  state: {
    schema: {
      color_in: '#42be65',
      color_onsite: '#0043ce',
      color_break: '#f1c21b',
      color_lunch: '#ff832b',
      color_tbfvywci:'#c1c7cd',
      color_pto: "#C0C7CE",
      color_wfh: "#003FD6",
      show_ticket:true,
      show_company_name:true,
      textColor: []
    },
    schemaAdminUserId:""
  },
  mutations: {
    SET_SCHEMA: (state, schema) => {
      state.schema = { ...schema }
    },
    SET_SCHEMAADMINUSERID: (state, schemaAdminUserId) => {
      state.schemaAdminUserId = [ ...schemaAdminUserId ]
    }
  },
  actions: {
    setSchema ({ commit }, schema) {
      commit('SET_SCHEMA', schema)
    },
    setSchemaAdminUserId ({ commit }, schemaAdminUserId) {
      commit('SET_SCHEMAADMINUSERID', schemaAdminUserId)
    }
  }
}
